﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace WindowsGame1
{
    public class Enemy : Sprite
    {
       public int speedX;
       public int speedY;
       public int timeToShoot;
       public int tiroEnemyCount;

       Random random = new Random();
        
        public Enemy (Texture2D _texture, Rectangle _rect, Color _color)
        {
            this.texture = _texture;
            this.rect = _rect;
            this.color = _color;

            speedX = 1;
            speedY = 0;

            tiroEnemyCount = 0;
            //timeToShoot = random.Next(0, 100);
            //TODO o sorteio do tempo tem que ser chamado de maneira diferente
        }

         public void Update(GameTime gameTime)
         {
            //this.rect.Y += 1;
         }

    }
}
